package io.github.wanggit.antcms.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wanggit.antcms.server.domain.AntArticle;
import io.github.wanggit.antcms.server.domain.AntCatalog;

import java.util.List;

public interface CatalogService extends IService<AntCatalog> {
    void saveOrUpdateCatalog(AntCatalog catalog);

    void deleteCatalog(Long id);

    List<AntCatalog> findCatalogByArticle(AntArticle article);
}
